@import "../ui/title-bar/title-bar-sizes";
@import "../ui/style/typography";

.App {
    width: 100%;
    height: 100%;

    &__container {
        width: 100%;
        min-height: 1px;
        height: calc(100% - #{$title-bar-darwin-size});
    }

    &__aside {
        height: 100%;
    }

    &__content {
        position: relative;
        min-width: 1px;
        height: 100%;
    }

    &__sections {
        height: 100%;

        > section {
            min-height: 1px;
            width: 50%;
            height: 100%;
        }

        &--previewOnly {
            > section:nth-child(1) {
                display: none;
            }

            > section:nth-child(2) {
                width: 100%;
            }
        }

        &--editorOnly {
            > section:nth-child(1) {
                width: 100%;
            }

            > section:nth-child(2) {
                display: none;
            }
        }
    }

    &__noSelectedNote {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;

        > p {
            margin: 0;
            font: {
                size: $font-size-lg;
                weight: $font-weight-semiBold;
            };
        }
    }
}
